﻿namespace XUCore.WeChat.Enterprise.Net.ServerMessages.From
{
    using Newtonsoft.Json;
    using System.Collections.Generic;
    using System.Xml.Serialization;
    using XUCore.WeChat.Net.ServerMessages.From;

    /// <summary>
    /// 进入应用，本事件在成员进入企业微信的应用时触发
    /// </summary>
    [XmlRoot("xml")]
    public class FromEnterAgentEvent : FromEventBase
    {
        /// <summary>
        /// Initializes a new instance of the <see cref="FromEnterAgentEvent"/> class.
        /// </summary>
        public FromEnterAgentEvent()
        {
            Event = FromEventTypes.enter_agent;
        }

        /// <summary>
        /// Gets or sets the EventKey
        /// 事件KEY值
        /// </summary>
        public string EventKey { get; set; }
    }
}
